﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using WebService_Newstore.Controller;

namespace WebService_Newstore.DTO
{
    public class CommandeDTO
    {
        public int idCommande { get; set; }
        public DateTime dateCmd { get; set; }
        public DateTime dateLivrCmd { get; set; }
        public string refCommande { get; set; }
        public int idHyper { get; set; }          //reference de la commande
        public int statutCmd { get; set; }
        public int iduser { get; set; }                 //utilisateur qui a pris la commande

        public CommandeDTO() { }

        public void saveCommande()
        {
            ServiceBPController.SaveCmdDTO(this);
        }

    }
}